//
//  RyueTestViewController.swift
//  RyueWeibo
//
//  Created by jugg on 2016/11/30.
//  Copyright © 2016年 Renyue'husband. All rights reserved.
//

import UIKit

class RyueTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor=UIColor.white
        setupUI()
        
    }
    
    private func setupUI(){
        navigationItem.rightBarButtonItem=UIBarButtonItem(title: "Push", target: self, action: #selector(pushButtonClick))
    }
    
    @objc private func pushButtonClick() -> () {
        
        let testVC = RyueTestViewController()
        navigationController?.pushViewController(testVC, animated: true)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
